package com.personal.modules.sys.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.personal.modules.sys.dao.TSysMenuDao;
import com.personal.modules.sys.entity.TSysMenuEntity;
import com.personal.modules.sys.service.TSysMenuService;



@Service("tSysMenuService")
public class TSysMenuServiceImpl implements TSysMenuService {
	@Autowired
	private TSysMenuDao tSysMenuDao;
	
	@Override
	public TSysMenuEntity queryObject(Long menuId){
		return tSysMenuDao.queryObject(menuId);
	}
	
	@Override
	public List<TSysMenuEntity> queryList(Map<String, Object> map){
		return tSysMenuDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tSysMenuDao.queryTotal(map);
	}
	
	@Override
	public void save(TSysMenuEntity tSysMenu){
		tSysMenuDao.save(tSysMenu);
	}
	
	@Override
	public void update(TSysMenuEntity tSysMenu){
		tSysMenuDao.update(tSysMenu);
	}
	
	@Override
	public void delete(Long menuId){
		tSysMenuDao.delete(menuId);
	}
	
	@Override
	public void deleteBatch(Long[] menuIds){
		tSysMenuDao.deleteBatch(menuIds);
	}
	
}
